home *** CD-ROM | disk | FTP | other *** search
- on patience txt
- global gCompte
- set the locH of sprite 39 to the locH of sprite 39 + 1
- set gCompte to gCompte + 1
- updateStage()
- end
-
- on ini_env
- global gIndEnv, gEnv1, gEnv2, gEnv3, gEnv4, gCodEnv, gNumEnv, gNomBestEnv, gBotBestEnv, gTopBestEnv, gLefBestEnv, gRigBestEnv, gTextEnvT, gTextEnvL, gCDpath, gTitBestEnv
- patience("Initialisation des donn┼╜es d'environnement : codes")
- set gIndEnv to list("PUR", "NEC", "AEG", "BRA", "PAF", "KEN", "ORE", "AAF", "HHA", "HER", "HSA", "PNE", "HSS")
- set gEnv1 to list("TRX", "ADA", "AEG", "AST", "PAF", "KEN", "ORE", "TRM", "DEI", "ERE", "HYE", "CEV", "MAM")
- set gEnv2 to list(" ", "LOF", "ARS", " ", "PAL", " ", "MAC", "AFA", "HAB", "GIG", "PRS", "PRN", "CRO")
- set gEnv3 to list("TRI", "NEC", "HYA", "BAS", "GON", "MEG", "LER", "OMO", "DEP", "CEU", "ROS", "MSK", "REN")
- set gEnv4 to list("PUR", "POP", "MOE", "BRA", "VIC", "PLA", "CHA", "HIP", "RUB", "CER", "AUR", "RHN", "NEA")
- patience("Initialisation des donn┼╜es d'environnement : noms")
- set gNomBestEnv to []
- set gNomBestEnv to list("-Tyranosaurus", " ", "-Triceratops", "+Purgatorius", "+Adapis", "+Lophiodon", "+Necrolemur", "+Propalaeotherium", "+Aegyptopithecus", "+Arsinoitherium", "+Hyaenodon", "+Moeritherium", "+Astrapotherium", " ", "+Basilosaurus", "+Branisella", "+Proconsul", "+Palaeomerix", "+Gomphotherium", "+Victoriapithecus", "+Kenyapithecus", " ", "+Megistotherium", "+Platybelodon", "+Oreopithecus", "+Machairodus", "+Deinogalerix", "+Chalicotherium", "-Termite hunting", "+Australopithecus afarensis", "+Homotherium", "+Hipparion", "+Deinotherium", "+Homo Habilis", "-Carving up", "+Paranthropus Boisei", "+Homo erectus", "+Giganthopithecus", "-Gathering", "-Hunting", "-Cave hyena", "-Cave", "+Megaloceros", "-Aurochs", "-Mosbach horse", "-Preneanderthal", "-Musk ox", "-Prairie rhinoceros", "-Mammoth", "-Campsite", "-Hunting", "-Funeral rite")
- set gTitBestEnv to list("Tyranosaurus", " ", "Triceratops", "Purgatorius", "Adapis", "Lophiodon", "Necrolemur", "Propalaeotherium", "Aegyptopithecus", "Arsinoitherium", "Hyaenodon", "Moeritherium", "Astrapotherium", " ", "Basilosaurus", "Branisella", "Proconsul", "Palaeomerix", "Gomphotherium", "Victoriapithecus", "Kenyapithecus", " ", "Megistotherium", "Platybelodon", "Oreopithecus", "Machairodus", "Deinogalerix", "Chalicotherium", "Australopithecus afarensis", "Australopithecus afarensis", "Homotherium", "Hipparion", "Deinotherium", "Homo Habilis", "Homo Habilis", "Paranthropus Boisei", "Homo erectus", "Giganthopithecus", "Homo erectus", "Homo erectus", "Crocuta spelaea", "Homo sapiens archaic", "Megaloceros", "Bos primigenius", "Equus caballus mosbachensis", "Preneanderthal", "Praeovibos priscus", "Dicerorhinus hemitoechus", "Mammuthus", "Homo sapiens sapiens", "Homo sapiens sapiens", "Homo sapiens neanderthalensis")
- patience("Initialisation des donn┼╜es d'environnement : coordon┼╜es")
- set gLefBestEnv to list(43, 0, 196, 42, 52, 198, 184, 43, 44, 188, 200, 41, 42, 0, 160, 88, 38, 211, 194, 47, 39, 0, 194, 50, 42, 174, 183, 41, 31, 229, 186, 41, 35, 220, 210, 42, 37, 226, 205, 47, 39, 208, 195, 42, 31, 232, 176, 35, 43, 223, 200, 37)
- set gTopBestEnv to list(309, 0, 396, 402, 318, 317, 399, 391, 309, 312, 392, 393, 311, 0, 400, 395, 313, 321, 391, 388, 312, 0, 401, 393, 311, 311, 403, 387, 306, 310, 401, 397, 309, 312, 384, 388, 306, 314, 393, 385, 317, 311, 386, 394, 311, 310, 398, 385, 310, 314, 388, 404)
- set gRigBestEnv to list(94, 0, 252, 97, 96, 248, 247, 95, 88, 263, 255, 89, 94, 0, 262, 123, 95, 266, 263, 84, 79, 0, 253, 109, 87, 252, 249, 94, 97, 253, 260, 94, 79, 264, 251, 73, 63, 268, 260, 82, 86, 259, 257, 96, 96, 265, 263, 78, 95, 263, 250, 115)
- set gBotBestEnv to list(390, 0, 434, 432, 353, 359, 429, 438, 364, 366, 441, 441, 346, 0, 427, 444, 366, 370, 449, 444, 371, 0, 443, 431, 362, 359, 441, 445, 356, 378, 442, 441, 376, 365, 446, 447, 370, 370, 445, 444, 360, 373, 448, 442, 355, 383, 444, 446, 374, 372, 443, 443)
- set gCodEnv to []
- set gNumEnv to []
- set gTextEnvT to the text of cast "TXT E"
- end
-
- on ini_phy
- global gListCodPhy, gListNomPhy, gListRecPhy, gListSujPhy, gListArbPhy, gListFicPhy, gListDebPhy, gListFinPhy, gListHorPhy, gListTimPhy, gTextPhyL, gCDpath
- patience("Initialisation des donn┼╜es de phylog┼╜nie : fichiers")
- set gListFicPhy to list("AAFAAR", "AAFHHA", "AARARO", "APALEM", "AEGDEN", "AEGHYL", "AEGPAF", "AEGVIC", "BRATRE", "DENPLI", "HERHSA", "HERPNE", "HHAHER", "HSAHSS", "KENAAF", "KENGOR", "KENPAN", "NECAEG", "NECAPI", "NECBRA", "NECTAR", "PAFDRY", "PAFKEN", "PAFORE", "PAFSIV", "PNEHSN", "PRIPUR", "PURAPA", "PURNEC", "PURPLE", "SIVGIG", "SIVPON", "THECGU", "TREATE", "VICTHE")
- patience(EMPTY)
- set gListDebPhy to list(15, 125, 235, 285, 515, 665, 895, 1045, 1175, 1265, 1355, 1445, 1535, 1605, 1695, 1805, 1985, 2165, 2255, 2335, 2445, 2675, 2735, 2865, 2980, 3090, 3150, 3245, 3425, 3625, 3805, 3915, 4065, 4195, 4405)
- patience(EMPTY)
- set gListFinPhy to list(95, 205, 255, 485, 635, 865, 1015, 1145, 1235, 1325, 1415, 1505, 1575, 1665, 1775, 1955, 2135, 2225, 2305, 2415, 2645, 2705, 2835, 2950, 3060, 3120, 3215, 3395, 3595, 3775, 3885, 4035, 4165, 4375, 4465)
- patience("index dans le bigfile des 18 suj pour accs horizontal")
- set gListHorPhy to list(3425, 2165, 3395, 515, 1175, 2735, 4405, 1695, 2950, 15, 1535, 255, 1355, 3885, 1605, 1505, 1665, 3120)
- patience("Initialisation des donn┼╜es de phylog┼╜nie : codes")
- set gListCodPhy to list("PUR", "PLE", "APA", "NEC", "API", "AEG", "BRA", "TRE", "VIC", "DEN", "PAF", "PLI", "DRY", "SIV", "KEN", "THE", "ORE", "AAF", "AAR", "HHA", "ARO", "HER", "GIG", "PNE", "HSA", "HSN", "HSS", "PAN", "GOR", "PON", "HYL", "CGU", "ATE", "TAR", "LEM")
- patience("Initialisation des donn┼╜es de phylog┼╜nie : Epoques")
- set gListTimPhy to list(70, 60, 50, 50, 35, 30, 30, 17, 17, 17, 17, 10, 15, 15, 14, 2.5, 14, 4, 2.5, 2, 2, 1, 1, 0.20000000000000001, 0.20000000000000001, 0.035, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
- patience("Initialisation des donn┼╜es de phylog┼╜nie : index")
- set gListSujPhy to list(1, 0, 3, 2, 0, 4, 5, 0, 7, 0, 6, 0, 0, 0, 8, 0, 9, 10, 0, 11, 12, 13, 14, 16, 15, 18, 17, 0, 0, 0, 0, 0, 0, 0, 0)
- patience("Initialisation des donn┼╜es de phylog┼╜nie : hi┼╜rarchie")
- set gListArbPhy to list(10000, 11000, 12000, 20000, 22000, 30000, 23000, 23100, 31000, 32000, 40000, 32100, 41000, 43000, 50000, 31100, 42000, 60000, 61000, 70000, 61100, 80000, 43100, 81000, 90000, 81100, 100000, 52000, 51000, 43200, 33000, 31110, 23110, 21000, 12100)
- patience("Initialisation des donn┼╜es de phylog┼╜nie : coordon┼╜es")
- set gListRecPhy to list(rect(550, 374, 559, 383), rect(542, 336, 551, 345), rect(530, 327, 539, 336), rect(509, 328, 518, 337), rect(501, 311, 510, 320), rect(488, 313, 497, 322), rect(496, 300, 505, 309), rect(496, 263, 505, 272), rect(480, 273, 489, 282), rect(467, 270, 476, 279), rect(438, 270, 447, 279), rect(467, 230, 476, 239), rect(447, 232, 456, 241), rect(417, 239, 426, 248), rect(402, 228, 411, 237), rect(480, 197, 489, 206), rect(439, 202, 448, 211), rect(381, 206, 390, 215), rect(374, 196, 383, 205), rect(366, 185, 375, 194), rect(376, 178, 385, 187), rect(366, 171, 375, 180), rect(430, 167, 439, 176), rect(376, 134, 385, 143), rect(366, 134, 375, 143), rect(376, 111, 385, 120), rect(368, 95, 377, 104), rect(396, 95, 405, 104), rect(406, 95, 415, 104), rect(423, 95, 432, 104), rect(455, 95, 464, 104), rect(479, 95, 488, 104), rect(495, 95, 504, 104), rect(517, 95, 526, 104), rect(539, 95, 548, 104))
- patience("Initialisation des donn┼╜es de phylog┼╜nie : noms")
- set gListNomPhy to list("Purgatorius Unio", "Plesiadapis", "Adapis parisiensis", "Necrolemur antiquus", "Apidium", "Aegyptopithecus zeuxis", "Branisella Boliviana", "Tremacebus", "Victoriapithecus macinnesi", "Dendropithecus", "Proconsul africanus", "Pliopithecus", "Dryopithecus", "Sivapithecus", "Kenyapithecus africanus", "Theropithecus", "Oreopithecus Bamboli", "Australopithecus afarensis", "Australopithecus africanus", "Homo habilis", "Paranthropus boisei", "Homo erectus", "Gigantopitecus blacki", "Preneanderthal", "Homo sapiens archaic", "Homo sapiens neanderthalensis", "Homo sapiens sapiens", "Pan", "Gorilla", "Pongo", "Hylobates", "Colobus guereza", "Ateles", "Tarsius", "Lemur")
- set monTxt to "Initialisation des donn┼╜es de phylog┼╜nie : textes " & RETURN
- set TextPhyL to EMPTY
- set TextPhyL to the text of cast "TXT P"
- set i to 1
- set j to 1
- set gTextPhyL to []
- repeat while j < 36
- patience(EMPTY)
- set la_phrase to EMPTY
- if char 1 of line i of TextPhyL = "@" then
- set la_phrase to chars(line i of TextPhyL, 6, the number of chars in line i of TextPhyL)
- end if
- if char 1 of line i + 1 of TextPhyL <> "@" then
- set la_phrase to la_phrase & RETURN & line i + 1 of TextPhyL
- set i to i + 1
- end if
- add(gTextPhyL, la_phrase)
- set i to i + 1
- set j to j + 1
- end repeat
- end
-
- on ini_curs
- global gListCurs, gListMsk, gCursor
- patience("Initialisation des curseurs")
- set gListCurs to []
- set gListMsk to []
- set gCursor to 1
- add(gListCurs, the number of cast "1DOIGT")
- add(gListMsk, the number of cast "1DOIGT MSK")
- curseur(-1)
- curseur(1)
- add(gListCurs, the number of cast "1DDWN")
- add(gListMsk, the number of cast "1DDWN MSK")
- curseur(-1)
- curseur(2)
- add(gListCurs, the number of cast "2DOIGT")
- add(gListMsk, the number of cast "2DOIGT MSK")
- curseur(-1)
- curseur(3)
- add(gListCurs, the number of cast "PRISE")
- add(gListMsk, the number of cast "PRISE MSK")
- curseur(-1)
- curseur(4)
- add(gListCurs, the number of cast "PREND")
- add(gListMsk, the number of cast "PREND MSK")
- curseur(-1)
- curseur(5)
- add(gListCurs, the number of cast "WAIT1")
- add(gListMsk, the number of cast "WAIT1 MSK")
- curseur(-1)
- curseur(6)
- add(gListCurs, the number of cast "NOWAY")
- add(gListMsk, the number of cast "NOWAY MSK")
- curseur(-1)
- curseur(7)
- add(gListCurs, the number of cast "GAUDRO")
- add(gListMsk, the number of cast "GAUDRO MSK")
- curseur(-1)
- curseur(8)
- add(gListCurs, the number of cast "GAUDRO2")
- add(gListMsk, the number of cast "GAUDRO2 MSK")
- curseur(-1)
- curseur(9)
- add(gListCurs, the number of cast "DRODRO")
- add(gListMsk, the number of cast "DRODRO MSK")
- curseur(-1)
- curseur(10)
- add(gListCurs, the number of cast "GAUGAU")
- add(gListMsk, the number of cast "GAUGAU MSK")
- curseur(-1)
- curseur(11)
- curseur(-1)
- end
-
- on ini_suj
- global gListSuj, gListCod, gListAnc
- patience("Initialisation des donn┼╜es g┼╜n┼╜rales : sujets")
- set suj to FBestiole(mnew, "Purgatorius Unio", "PUR", "A", 0, "PUR", "PUR", 70)
- set gListSuj to list(suj)
- set gListCod to list("PUR")
- set suj to FBestiole(mnew, "Necrolemur Antiquus", "NEC", "A", 3, "NEC", "NEC", 50)
- add(gListSuj, suj)
- add(gListCod, "NEC")
- set suj to FBestiole(mnew, "Adapis Parisiensis", "APA", "C", 2, "NEC", "NEC", 50)
- add(gListSuj, suj)
- add(gListCod, "APA")
- set suj to FBestiole(mnew, "Aegyptopithecus Zeuxis", "AEG", "A", 5, "AEG", "AEG", 30)
- add(gListSuj, suj)
- add(gListCod, "AEG")
- set suj to FBestiole(mnew, "Branisella Boliviana", "BRA", "C", 4, "BRA", "BRA", 30)
- add(gListSuj, suj)
- add(gListCod, "BRA")
- set suj to FBestiole(mnew, "Proconsul Africanus", "PAF", "A", 7, "PAF", "PAF", 17)
- add(gListSuj, suj)
- add(gListCod, "PAF")
- set suj to FBestiole(mnew, "Victoriapithecus Macinnesi", "VIC", "C", 6, "PAF", "VIC", 17)
- add(gListSuj, suj)
- add(gListCod, "VIC")
- set suj to FBestiole(mnew, "Kenyapithecus Africanus", "KEN", "A", 9, "KEN", "KEN", 14)
- add(gListSuj, suj)
- add(gListCod, "KEN")
- set suj to FBestiole(mnew, "Oreopithecus Bamboli", "ORE", "C", 8, "ORE", "ORE", 14)
- add(gListSuj, suj)
- add(gListCod, "ORE")
- set suj to FBestiole(mnew, "Australopithecus Afarensis", "AAF", "A", 0, "AAF", "AAF", 4)
- add(gListSuj, suj)
- add(gListCod, "AAF")
- set suj to FBestiole(mnew, "Homo Habilis", "HHA", "A", 12, "HHA", "HHA", 2)
- add(gListSuj, suj)
- add(gListCod, "HHA")
- set suj to FBestiole(mnew, "Paranthropus Boisei", "ARO", "C", 11, "HHA", "ARO", 2)
- add(gListSuj, suj)
- add(gListCod, "ARO")
- set suj to FBestiole(mnew, "Homo Erectus", "HER", "A", 14, "HER", "HER", 1)
- add(gListSuj, suj)
- add(gListCod, "HER")
- set suj to FBestiole(mnew, "Gigantopithecus Blacki", "GIG", "C", 13, "HER", "GIG", 1)
- add(gListSuj, suj)
- add(gListCod, "GIG")
- set suj to FBestiole(mnew, "Homo Sapiens Archaic", "HSA", "A", 16, "HSA", "HSA", 0.20000000000000001)
- add(gListSuj, suj)
- add(gListCod, "HSA")
- set suj to FBestiole(mnew, "Preneanderthal", "PNE", "C", 15, "PNE", "PNE", 0.20000000000000001)
- add(gListSuj, suj)
- add(gListCod, "PNE")
- set suj to FBestiole(mnew, "Homo Sapiens Sapiens", "HSS", "A", 18, "HSS", "HSS", 0.035)
- add(gListSuj, suj)
- add(gListCod, "HSS")
- set suj to FBestiole(mnew, "Homo Sapiens Neanderthalensis", "HSN", "C", 17, "HSS", "HSN", 0.035)
- add(gListSuj, suj)
- add(gListCod, "HSN")
- set gListAnc to list(getAt(gListSuj, 1), getAt(gListSuj, 2), getAt(gListSuj, 4), getAt(gListSuj, 6), getAt(gListSuj, 8), getAt(gListSuj, 10), getAt(gListSuj, 11), getAt(gListSuj, 13), getAt(gListSuj, 15), getAt(gListSuj, 17))
- end
-
- on ini_Tim
- global gListDebHi, gListDurHi, gListDebCh, gListDurCh, gListDebDe, gListDurDe, gListDebEn, gListDurEn
- patience(EMPTY)
- set gListDebHi to list()
- set gListDurHi to list(870, 2435, 3680, 5400, 6955, 8245, 9705, 11250, 12830, 14230, 15735, 17175, 18815, 20370, 21685, 23325, 24785, 26515)
- set gListDebDe to list()
- set gListDurDe to list(995, 5670, 10440, 14830, 18780, 23940, 27825, 32585, 37285, 45000, 48495, 52710, 56210, 60055, 64110, 69345, 73895, 77845)
- set gListDebCh to list()
- set gListDurCh to list(1300, 4015, 7115, 10180, 12965, 16670, 19055, 22215, 25290, 28765)
- set gListDebEn to list()
- set gListDurEn to list()
- end
-
- on ini_son
- global gListZic0, gListZic1, gIndZic1, gIndZic0
- patience(EMPTY)
- set gListZic0 to []
- add(gListZic0, "ACC.AIF")
- add(gListZic0, "S1.AIF")
- add(gListZic0, "S4.AIF")
- set gIndZic0 to 1
- set gListZic1 to []
- add(gListZic1, "S1.AIF")
- add(gListZic1, "S2.AIF")
- add(gListZic1, "S3.AIF")
- add(gListZic1, "S4.AIF")
- add(gListZic1, "S5.AIF")
- add(gListZic1, "S6.AIF")
- set gIndZic1 to 1
- end
-
- on ini_aid
- global gTraduit, gCDpath
- set gTraduit to []
- set la_phrase to "zzz"
- set numLig to numLig + 1
- set maxLig to the number of lines in field "TXT I"
- repeat while numLig <= maxLig
- patience(EMPTY)
- add(gTraduit, line numLig of field "TXT I")
- set numLig to numLig + 1
- end repeat
- end
-